package main

import "fmt"

func main() {
	b := make(map[int]string)
	b[1] = "张三"
	b[2] = "李四"
	fmt.Println(b) // map[1:张三 2:李四]

	c := map[int]string{
		1: "张三",
		2: "李四",
	}
	c[3] = "王五"
	fmt.Println(c) // map[1:张三 2:李四 3:王五]
}
